package com.opennews.openplatform.myspringbootcore.dto

import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.opennews.openplatform.myspringbootcore.util.IdField
import jakarta.validation.constraints.NotNull

@JsonIgnoreProperties(ignoreUnknown = true)
open class IdentityDto {
    @field:NotNull(message = "id can't be null")
    lateinit var id: IdField
}